﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace webapi.Model
{
    [Table("xyc_product_detail")]
    public class ProductDetailModel
    {
        [Key]
        public String GUID { get; set; }

        [Required]
        public int PRODUCT_ID { get; set; }

        [Required]
        public String YEAR { get; set; }

        [Required]
        public String BRAND { get; set; }

        [Required]
        public String MODEL { get; set; }

        [Required]
        public String ENGINE { get; set; }

        [Required]
        public String FUEL_TYPE { get; set; }

        public DateTime? DELETE_DATE { get; set; }
    }
}
